<%@ page language="java" contentType="text/html; charset=utf-8" pageEncoding="utf-8" isELIgnored="false"%>
<%@ include file="/WEB-INF/views/shared/taglib.jsp"%>
<div class="row">
	<div class="col-md-6 col-sm-6 col-lg-6 hidden-xs">
		<c:set value="${midCheckSearch.searchItemList}" var="searchItemList" />
		<%@ include file="/WEB-INF/views/shared/master/searchItem.jsp"%>
	</div>
	<div class="col-md-6 col-sm-6 col-lg-6 col-xs-12 text-right">
		<t:roleButton />
	</div>
</div>
<script type="text/javascript">
	function addData() {
		top.openModal("/admin/postgraduate/midCheck/midCheckDetailed",
				"readDocument_form", "检查详情-添加", 850, 400);
	}
	function editData() {
		var id=$(".panel-mid-check.bg-primary-400").attr("data-id");
		if (isEditor(id)) {
			top.openModal("/admin/postgraduate/midCheck/midCheckDetailed?key=" + id, "midCheck_form",
					"检查详情-修改", 850, 400);
		}
	}
	function selData() {
		var id=$(".panel-mid-check.bg-primary-400").attr("data-id");
		if (isEditor(id)) {
			top.openModal("/admin/postgraduate/midCheck/midCheckDetailed?key=" + id + "&mode=3",
					"midCheck_form", "检查详情-查看", 850, 400);
		}
	}
	function deleteData() {
		var id=$(".panel-mid-check.bg-primary-400").attr("data-id");
		if (isEditor(id)) {
			var url = $.getVirtualPath() + "/admin/postgraduate/midCheck/delete?key=" + id;
			deleteDataEx(url, function(data) {
				if (data.resultType == "success") {
					formSubmit();
				}
			});
		}
	}
</script>